<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SmartCarInformationSystem: StudentController类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SmartCarInformationSystem
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classStudentController.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classStudentController-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">StudentController类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="StudentController_8h_source.html">StudentController.h</a>&gt;</code></p>
<div class="dynheader">
StudentController 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="classStudentController__coll__graph.png" border="0" usemap="#aStudentController_coll__map" alt="Collaboration graph"/></div>
<map name="aStudentController_coll__map" id="aStudentController_coll__map">
<area shape="rect" title=" " alt="" coords="13,669,185,864"/>
<area shape="rect" title=" " alt="" coords="5,515,192,607"/>
<area shape="rect" title=" " alt="" coords="55,147,142,224"/>
<area shape="rect" href="classStudent.html" title=" " alt="" coords="147,301,255,452"/>
<area shape="rect" title=" " alt="" coords="29,5,168,97"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ae6cd2181275c3f6b077844fe195b6071"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStudentController.html#ae6cd2181275c3f6b077844fe195b6071">StudentController</a> ()</td></tr>
<tr class="separator:ae6cd2181275c3f6b077844fe195b6071"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9348a3b71dfa1395d795e61c25953ab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStudentController.html#aa9348a3b71dfa1395d795e61c25953ab">~StudentController</a> ()</td></tr>
<tr class="separator:aa9348a3b71dfa1395d795e61c25953ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae66baa931cc79d58e4b1712fd9280fe2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classStudent.html">Student</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStudentController.html#ae66baa931cc79d58e4b1712fd9280fe2">createStudent</a> (std::string name)</td></tr>
<tr class="separator:ae66baa931cc79d58e4b1712fd9280fe2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27bc05fde603d63e42c9394c606b6213"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classStudent.html">Student</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStudentController.html#a27bc05fde603d63e42c9394c606b6213">createStudent</a> (std::string id, std::string name)</td></tr>
<tr class="separator:a27bc05fde603d63e42c9394c606b6213"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69543e2b17420362eb6178fa53d1d552"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStudentController.html#a69543e2b17420362eb6178fa53d1d552">getStudentCount</a> ()</td></tr>
<tr class="separator:a69543e2b17420362eb6178fa53d1d552"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34203d2b749936b750ebbaad63dfb012"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classStudent.html">Student</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStudentController.html#a34203d2b749936b750ebbaad63dfb012">findStudentById</a> (std::string id)</td></tr>
<tr class="separator:a34203d2b749936b750ebbaad63dfb012"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9e50272986d5a33599ac34583fc4c80"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStudentController.html#af9e50272986d5a33599ac34583fc4c80">listAllStudent</a> (<a class="el" href="classStudent.html">Student</a> *(&amp;studentList)[])</td></tr>
<tr class="separator:af9e50272986d5a33599ac34583fc4c80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7552eb93cf7a9029a229d0bbcd34b744"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStudentController.html#a7552eb93cf7a9029a229d0bbcd34b744">deleteStudent</a> (<a class="el" href="classStudent.html">Student</a> *stu)</td></tr>
<tr class="separator:a7552eb93cf7a9029a229d0bbcd34b744"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f701f2d08931bb6c63c96f1b8c2d80f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classStudent.html">Student</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStudentController.html#a2f701f2d08931bb6c63c96f1b8c2d80f">strToStudent</a> (std::istringstream &amp;iss)</td></tr>
<tr class="separator:a2f701f2d08931bb6c63c96f1b8c2d80f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a391674ebae9d6c9b9985b4a929d26f37"><td class="memItemLeft" align="right" valign="top">std::unordered_map&lt; std::string, <a class="el" href="classStudent.html">Student</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStudentController.html#a391674ebae9d6c9b9985b4a929d26f37">studentMap</a></td></tr>
<tr class="separator:a391674ebae9d6c9b9985b4a929d26f37"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>学生控制器 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="ae6cd2181275c3f6b077844fe195b6071"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6cd2181275c3f6b077844fe195b6071">&#9670;&nbsp;</a></span>StudentController()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">StudentController::StudentController </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>有参构造 </p>

</div>
</div>
<a id="aa9348a3b71dfa1395d795e61c25953ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9348a3b71dfa1395d795e61c25953ab">&#9670;&nbsp;</a></span>~StudentController()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">StudentController::~StudentController </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>析构函数 </p>

<p class="reference">引用了 <a class="el" href="MapFunc_8h.html#a389aca75d2b0801a83c6fb091f4c2a90">clearMap()</a> , 以及 <a class="el" href="classStudentController.html#a391674ebae9d6c9b9985b4a929d26f37">studentMap</a>.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="classStudentController_aa9348a3b71dfa1395d795e61c25953ab_cgraph.png" border="0" usemap="#aclassStudentController_aa9348a3b71dfa1395d795e61c25953ab_cgraph" alt=""/></div>
<map name="aclassStudentController_aa9348a3b71dfa1395d795e61c25953ab_cgraph" id="aclassStudentController_aa9348a3b71dfa1395d795e61c25953ab_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,152,47"/>
<area shape="rect" href="MapFunc_8h.html#a389aca75d2b0801a83c6fb091f4c2a90" title="清理Map中所有元素的内存占用，并清空Map。" alt="" coords="200,13,283,39"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a27bc05fde603d63e42c9394c606b6213"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27bc05fde603d63e42c9394c606b6213">&#9670;&nbsp;</a></span>createStudent() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classStudent.html">Student</a> * StudentController::createStudent </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>有参创建学生 </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">string</td><td>id 学生学号 </td></tr>
    <tr><td class="paramname">string</td><td>name 学生姓名 </td></tr>
  </table>
  </dd>
</dl>

<p class="reference">引用了 <a class="el" href="classIdManager.html#a20fc38f97bb0533e25c4fcfb58685c6d">IdManager::addId()</a>, <a class="el" href="classIdManager.html#a0e86aafb09df8c3d9807c4e6dcae0065">IdManager::getIdManager()</a> , 以及 <a class="el" href="classStudentController.html#a391674ebae9d6c9b9985b4a929d26f37">studentMap</a>.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="classStudentController_a27bc05fde603d63e42c9394c606b6213_cgraph.png" border="0" usemap="#aclassStudentController_a27bc05fde603d63e42c9394c606b6213_cgraph" alt=""/></div>
<map name="aclassStudentController_a27bc05fde603d63e42c9394c606b6213_cgraph" id="aclassStudentController_a27bc05fde603d63e42c9394c606b6213_cgraph">
<area shape="rect" title=" " alt="" coords="5,23,149,65"/>
<area shape="rect" href="classIdManager.html#a20fc38f97bb0533e25c4fcfb58685c6d" title=" " alt="" coords="225,5,359,32"/>
<area shape="rect" href="classIdManager.html#a0e86aafb09df8c3d9807c4e6dcae0065" title=" " alt="" coords="197,56,387,83"/>
<area shape="rect" href="classIdManager.html#adf59d029ed41c3ff68d0327a00014421" title=" " alt="" coords="435,5,589,32"/>
<area shape="rect" href="classIdManager.html#a6e107a3c5c43845c041dd74bb6e50230" title=" " alt="" coords="637,5,817,32"/>
</map>
</div>

</div>
</div>
<a id="ae66baa931cc79d58e4b1712fd9280fe2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae66baa931cc79d58e4b1712fd9280fe2">&#9670;&nbsp;</a></span>createStudent() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classStudent.html">Student</a> * StudentController::createStudent </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>有参创建学生 </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">string</td><td>name 学生姓名 </td></tr>
  </table>
  </dd>
</dl>

<p class="reference">引用了 <a class="el" href="classIdManager.html#a623665a2cf3f9dc10388b9015ec01764">IdManager::createId()</a>, <a class="el" href="classIdManager.html#a0e86aafb09df8c3d9807c4e6dcae0065">IdManager::getIdManager()</a> , 以及 <a class="el" href="classStudentController.html#a391674ebae9d6c9b9985b4a929d26f37">studentMap</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ManageStudent_8h.html#a8360cd1673e0e7d76246f07cc9c8e121">createStudent()</a> , 以及 <a class="el" href="classStudentController.html#a2f701f2d08931bb6c63c96f1b8c2d80f">strToStudent()</a>.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="classStudentController_ae66baa931cc79d58e4b1712fd9280fe2_cgraph.png" border="0" usemap="#aclassStudentController_ae66baa931cc79d58e4b1712fd9280fe2_cgraph" alt=""/></div>
<map name="aclassStudentController_ae66baa931cc79d58e4b1712fd9280fe2_cgraph" id="aclassStudentController_ae66baa931cc79d58e4b1712fd9280fe2_cgraph">
<area shape="rect" title=" " alt="" coords="5,23,149,65"/>
<area shape="rect" href="classIdManager.html#a623665a2cf3f9dc10388b9015ec01764" title=" " alt="" coords="216,5,368,32"/>
<area shape="rect" href="classIdManager.html#a0e86aafb09df8c3d9807c4e6dcae0065" title=" " alt="" coords="197,56,387,83"/>
<area shape="rect" href="classIdManager.html#adf59d029ed41c3ff68d0327a00014421" title=" " alt="" coords="435,5,589,32"/>
<area shape="rect" href="classIdManager.html#a6e107a3c5c43845c041dd74bb6e50230" title=" " alt="" coords="637,5,817,32"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classStudentController_ae66baa931cc79d58e4b1712fd9280fe2_icgraph.png" border="0" usemap="#aclassStudentController_ae66baa931cc79d58e4b1712fd9280fe2_icgraph" alt=""/></div>
<map name="aclassStudentController_ae66baa931cc79d58e4b1712fd9280fe2_icgraph" id="aclassStudentController_ae66baa931cc79d58e4b1712fd9280fe2_icgraph">
<area shape="rect" title=" " alt="" coords="652,25,796,66"/>
<area shape="rect" href="ManageStudent_8h.html#a8360cd1673e0e7d76246f07cc9c8e121" title=" " alt="" coords="290,5,403,32"/>
<area shape="rect" href="classStudentController.html#a2f701f2d08931bb6c63c96f1b8c2d80f" title=" " alt="" coords="460,54,604,95"/>
<area shape="rect" href="ManageStudent_8h.html#a3853541128c633331a768d91df53766b" title=" " alt="" coords="108,32,233,59"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,32,60,59"/>
<area shape="rect" href="ManageStudent_8h.html#a4933b410a481559425d228c623d37e67" title=" " alt="" coords="281,57,412,84"/>
</map>
</div>

</div>
</div>
<a id="a7552eb93cf7a9029a229d0bbcd34b744"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7552eb93cf7a9029a229d0bbcd34b744">&#9670;&nbsp;</a></span>deleteStudent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StudentController::deleteStudent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStudent.html">Student</a> *&#160;</td>
          <td class="paramname"><em>stu</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>删除学生 </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">string</td><td>name 学生姓名 </td></tr>
  </table>
  </dd>
</dl>

<p class="reference">引用了 <a class="el" href="classStudent.html#a9c7ce950a8c3df3b404f4e5e01e8b883">Student::id</a> , 以及 <a class="el" href="classStudentController.html#a391674ebae9d6c9b9985b4a929d26f37">studentMap</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ManageStudent_8h.html#af8f22c6a23029ae6ed26f698195d7174">deleteStudent()</a>.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classStudentController_a7552eb93cf7a9029a229d0bbcd34b744_icgraph.png" border="0" usemap="#aclassStudentController_a7552eb93cf7a9029a229d0bbcd34b744_icgraph" alt=""/></div>
<map name="aclassStudentController_a7552eb93cf7a9029a229d0bbcd34b744_icgraph" id="aclassStudentController_a7552eb93cf7a9029a229d0bbcd34b744_icgraph">
<area shape="rect" title=" " alt="" coords="443,5,587,47"/>
<area shape="rect" href="ManageStudent_8h.html#af8f22c6a23029ae6ed26f698195d7174" title=" " alt="" coords="281,13,395,39"/>
<area shape="rect" href="ManageStudent_8h.html#a3853541128c633331a768d91df53766b" title=" " alt="" coords="108,13,233,39"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,13,60,39"/>
</map>
</div>

</div>
</div>
<a id="a34203d2b749936b750ebbaad63dfb012"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34203d2b749936b750ebbaad63dfb012">&#9670;&nbsp;</a></span>findStudentById()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classStudent.html">Student</a> * StudentController::findStudentById </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取学生-通过ID </p>

<p class="reference">引用了 <a class="el" href="classStudentController.html#a391674ebae9d6c9b9985b4a929d26f37">studentMap</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ShowInfo_8h.html#ad13b433f5e419c7fc8371f32135d5a84">printCar()</a>.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classStudentController_a34203d2b749936b750ebbaad63dfb012_icgraph.png" border="0" usemap="#aclassStudentController_a34203d2b749936b750ebbaad63dfb012_icgraph" alt=""/></div>
<map name="aclassStudentController_a34203d2b749936b750ebbaad63dfb012_icgraph" id="aclassStudentController_a34203d2b749936b750ebbaad63dfb012_icgraph">
<area shape="rect" title=" " alt="" coords="360,5,504,47"/>
<area shape="rect" href="ShowInfo_8h.html#ad13b433f5e419c7fc8371f32135d5a84" title=" " alt="" coords="237,13,312,39"/>
<area shape="rect" href="ShowInfo_8h.html#a09576f92da9a2b7e1dd10d5ed236a041" title=" " alt="" coords="108,13,189,39"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,13,60,39"/>
</map>
</div>

</div>
</div>
<a id="a69543e2b17420362eb6178fa53d1d552"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69543e2b17420362eb6178fa53d1d552">&#9670;&nbsp;</a></span>getStudentCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int StudentController::getStudentCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取学生数量 </p>

<p class="reference">引用了 <a class="el" href="classStudentController.html#a391674ebae9d6c9b9985b4a929d26f37">studentMap</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ManageCompare_8h.html#a6174bfb10b681b45ae3682d613d8adc4">autoCompare()</a>, <a class="el" href="ManageStudent_8h.html#ace7723298d405ec351a1415be0212720">getStudentByNum()</a>, <a class="el" href="ManageStudent_8h.html#ae60da78122ea59ab4851330951deb058">listStudent()</a>, <a class="el" href="ManageStudent_8h.html#a4933b410a481559425d228c623d37e67">loadStudentData()</a> , 以及 <a class="el" href="ManageStudent_8h.html#a8066226b7aeb89b9bf53e9554215631c">storeStudentData()</a>.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classStudentController_a69543e2b17420362eb6178fa53d1d552_icgraph.png" border="0" usemap="#aclassStudentController_a69543e2b17420362eb6178fa53d1d552_icgraph" alt=""/></div>
<map name="aclassStudentController_a69543e2b17420362eb6178fa53d1d552_icgraph" id="aclassStudentController_a69543e2b17420362eb6178fa53d1d552_icgraph">
<area shape="rect" title=" " alt="" coords="651,201,795,242"/>
<area shape="rect" href="ManageCompare_8h.html#a6174bfb10b681b45ae3682d613d8adc4" title=" " alt="" coords="297,5,407,32"/>
<area shape="rect" href="ManageStudent_8h.html#ace7723298d405ec351a1415be0212720" title=" " alt="" coords="461,132,603,159"/>
<area shape="rect" href="ManageStudent_8h.html#ae60da78122ea59ab4851330951deb058" title=" " alt="" coords="486,208,578,235"/>
<area shape="rect" href="ManageStudent_8h.html#a4933b410a481559425d228c623d37e67" title=" " alt="" coords="467,259,597,285"/>
<area shape="rect" href="ManageStudent_8h.html#a8066226b7aeb89b9bf53e9554215631c" title=" " alt="" coords="464,309,600,336"/>
<area shape="rect" href="ManageCompare_8h.html#adca7f3b7759bc577b4b2b075aafd5cd8" title=" " alt="" coords="108,56,243,83"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,132,60,159"/>
<area shape="rect" href="ManageCompare_8h.html#ad5bd309ed4e85626b7ce81b0ec3b7c8c" title=" " alt="" coords="291,56,413,83"/>
<area shape="rect" href="ManageStudent_8h.html#af8f22c6a23029ae6ed26f698195d7174" title=" " alt="" coords="295,107,409,133"/>
<area shape="rect" href="ManageStudent_8h.html#aec3e35cf04226b4cb2e38df78b3ce496" title=" " alt="" coords="303,157,401,184"/>
<area shape="rect" href="ManageStudent_8h.html#a3853541128c633331a768d91df53766b" title=" " alt="" coords="113,183,238,209"/>
</map>
</div>

</div>
</div>
<a id="af9e50272986d5a33599ac34583fc4c80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9e50272986d5a33599ac34583fc4c80">&#9670;&nbsp;</a></span>listAllStudent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StudentController::listAllStudent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStudent.html">Student</a> *(&amp;)&#160;</td>
          <td class="paramname"><em>studentList</em>[]</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">引用了 <a class="el" href="classStudentController.html#a391674ebae9d6c9b9985b4a929d26f37">studentMap</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ManageCompare_8h.html#a6174bfb10b681b45ae3682d613d8adc4">autoCompare()</a>, <a class="el" href="ManageStudent_8h.html#ace7723298d405ec351a1415be0212720">getStudentByNum()</a>, <a class="el" href="ManageStudent_8h.html#ae60da78122ea59ab4851330951deb058">listStudent()</a> , 以及 <a class="el" href="ManageStudent_8h.html#a8066226b7aeb89b9bf53e9554215631c">storeStudentData()</a>.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classStudentController_af9e50272986d5a33599ac34583fc4c80_icgraph.png" border="0" usemap="#aclassStudentController_af9e50272986d5a33599ac34583fc4c80_icgraph" alt=""/></div>
<map name="aclassStudentController_af9e50272986d5a33599ac34583fc4c80_icgraph" id="aclassStudentController_af9e50272986d5a33599ac34583fc4c80_icgraph">
<area shape="rect" title=" " alt="" coords="651,175,795,217"/>
<area shape="rect" href="ManageCompare_8h.html#a6174bfb10b681b45ae3682d613d8adc4" title=" " alt="" coords="297,5,407,32"/>
<area shape="rect" href="ManageStudent_8h.html#ace7723298d405ec351a1415be0212720" title=" " alt="" coords="461,132,603,159"/>
<area shape="rect" href="ManageStudent_8h.html#ae60da78122ea59ab4851330951deb058" title=" " alt="" coords="486,208,578,235"/>
<area shape="rect" href="ManageStudent_8h.html#a8066226b7aeb89b9bf53e9554215631c" title=" " alt="" coords="464,259,600,285"/>
<area shape="rect" href="ManageCompare_8h.html#adca7f3b7759bc577b4b2b075aafd5cd8" title=" " alt="" coords="108,56,243,83"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,107,60,133"/>
<area shape="rect" href="ManageCompare_8h.html#ad5bd309ed4e85626b7ce81b0ec3b7c8c" title=" " alt="" coords="291,56,413,83"/>
<area shape="rect" href="ManageStudent_8h.html#af8f22c6a23029ae6ed26f698195d7174" title=" " alt="" coords="295,107,409,133"/>
<area shape="rect" href="ManageStudent_8h.html#aec3e35cf04226b4cb2e38df78b3ce496" title=" " alt="" coords="303,157,401,184"/>
<area shape="rect" href="ManageStudent_8h.html#a3853541128c633331a768d91df53766b" title=" " alt="" coords="113,157,238,184"/>
</map>
</div>

</div>
</div>
<a id="a2f701f2d08931bb6c63c96f1b8c2d80f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f701f2d08931bb6c63c96f1b8c2d80f">&#9670;&nbsp;</a></span>strToStudent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classStudent.html">Student</a> * StudentController::strToStudent </td>
          <td>(</td>
          <td class="paramtype">std::istringstream &amp;&#160;</td>
          <td class="paramname"><em>iss</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>从字符串中解析出学生类 </p>

<p class="reference">引用了 <a class="el" href="classStudentController.html#ae66baa931cc79d58e4b1712fd9280fe2">createStudent()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ManageStudent_8h.html#a4933b410a481559425d228c623d37e67">loadStudentData()</a>.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="classStudentController_a2f701f2d08931bb6c63c96f1b8c2d80f_cgraph.png" border="0" usemap="#aclassStudentController_a2f701f2d08931bb6c63c96f1b8c2d80f_cgraph" alt=""/></div>
<map name="aclassStudentController_a2f701f2d08931bb6c63c96f1b8c2d80f_cgraph" id="aclassStudentController_a2f701f2d08931bb6c63c96f1b8c2d80f_cgraph">
<area shape="rect" title=" " alt="" coords="5,23,149,65"/>
<area shape="rect" href="classStudentController.html#ae66baa931cc79d58e4b1712fd9280fe2" title=" " alt="" coords="197,23,341,65"/>
<area shape="rect" href="classIdManager.html#a623665a2cf3f9dc10388b9015ec01764" title=" " alt="" coords="408,5,560,32"/>
<area shape="rect" href="classIdManager.html#a0e86aafb09df8c3d9807c4e6dcae0065" title=" " alt="" coords="389,56,579,83"/>
<area shape="rect" href="classIdManager.html#adf59d029ed41c3ff68d0327a00014421" title=" " alt="" coords="627,5,781,32"/>
<area shape="rect" href="classIdManager.html#a6e107a3c5c43845c041dd74bb6e50230" title=" " alt="" coords="829,5,1009,32"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classStudentController_a2f701f2d08931bb6c63c96f1b8c2d80f_icgraph.png" border="0" usemap="#aclassStudentController_a2f701f2d08931bb6c63c96f1b8c2d80f_icgraph" alt=""/></div>
<map name="aclassStudentController_a2f701f2d08931bb6c63c96f1b8c2d80f_icgraph" id="aclassStudentController_a2f701f2d08931bb6c63c96f1b8c2d80f_icgraph">
<area shape="rect" title=" " alt="" coords="460,5,604,47"/>
<area shape="rect" href="ManageStudent_8h.html#a4933b410a481559425d228c623d37e67" title=" " alt="" coords="281,13,412,39"/>
<area shape="rect" href="ManageStudent_8h.html#a3853541128c633331a768d91df53766b" title=" " alt="" coords="108,13,233,39"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,13,60,39"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a391674ebae9d6c9b9985b4a929d26f37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a391674ebae9d6c9b9985b4a929d26f37">&#9670;&nbsp;</a></span>studentMap</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::unordered_map&lt;std::string,<a class="el" href="classStudent.html">Student</a>*&gt; StudentController::studentMap</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="reference">被这些函数引用 <a class="el" href="classStudentController.html#ae66baa931cc79d58e4b1712fd9280fe2">createStudent()</a>, <a class="el" href="classStudentController.html#a7552eb93cf7a9029a229d0bbcd34b744">deleteStudent()</a>, <a class="el" href="classStudentController.html#a34203d2b749936b750ebbaad63dfb012">findStudentById()</a>, <a class="el" href="classStudentController.html#a69543e2b17420362eb6178fa53d1d552">getStudentCount()</a>, <a class="el" href="classStudentController.html#af9e50272986d5a33599ac34583fc4c80">listAllStudent()</a> , 以及 <a class="el" href="classStudentController.html#aa9348a3b71dfa1395d795e61c25953ab">~StudentController()</a>.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/<a class="el" href="StudentController_8h_source.html">StudentController.h</a></li>
<li>src/controller/<a class="el" href="StudentController_8cpp.html">StudentController.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classStudentController.html">StudentController</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
